fix incorrect indent
change template filenames and context object names
rename folder 'auth' to 'authentication' and fix test cases