fix login for android 4.0