Automatically login if accessing non-login panel page