Fixed LoginActivity issue happened from a different workspace.