ext: collection admin page if unlogged fix

(closes #2052)

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
Can you remove this empty line (`D202 No blank lines allowed after function docstring`)?