Fixing issues with login causing Android app not to run