Hi!

I hope I understood your question right.
Masterpages aren't intended to behave in this way. I would suggest that you simply create one separate page for your login section.

Cheers!