Fix auto login
Version 0.5