add an option to use hacky key instead of login for certain views