ext: collection admin page if unlogged fix

(closes #2052)

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
1: D400 First line should end with '.', not 'n'
1: D205 Blank line missing between one-line summary and description
1: D208 Docstring is over-indented
32:1: F401 'login_required' imported but unused
32:1: F401 'UserMixin' imported but unused
36: D401 First line should be imperative: 'Allow', not 'Allows'
44: D103 Docstring missing
77: D103 Docstring missing
95: D401 First line should be imperative: 'Find', not 'Finds'
95: D202 No blank lines allowed *after* function docstring, found 1
137: D202 No blank lines allowed *after* function docstring, found 1
145: D401 First line should be imperative: 'Display', not 'Displays'
145: D202 No blank lines allowed *after* function docstring, found 1
169: D400 First line should end with '.', not 'd'
169: D205 Blank line missing between one-line summary and description