Fixed bug when confirming account through email link.
Fixed bug when confirming account through email link.