Fix bug causing infinite loop in /signin view