principal: raise 401 on authorization failure

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
search: fix query string in add-to-search

* Adds double quotes around author and title value. (closes #2251)

* Splits terms by whitespace or quotes and join them
  with proper operator. (addresses #2252)

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
login: handle 401 error

* Adds template and special handling of 401 error.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
login: fix PEP8/257 errors

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
base: fix footer links

* Changes footer links to new user profile settings and documentation.
  (closes #2248)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
documentation: fix WebSupport builder

* Improves docs and PEP257.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
docs: configuration theme cleanup

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>