Remove login and registration page links when in read-only mode (#86).