logging in after exiting website under maintenance
Are you logging in as Admin (user 1) or a site administrator?  They are the only ones who have the rights to login while the site is in maintenance mode.  The URL should be http://www.example.com/user/login or http://www.example.com/index.php?q=user .  

KMT