Fixed authentication corner cases and updated shortlink for notes.