Fixed authentication after moving routes