Fixed ghost login redirect