Fixed bug where invalid log in credentials would be stored to preferences and user would need to clear the app cache to be able to log in again.