Fixed a bug where profile pic is inconsistent when logging in for the first time.