The verb phrase 'have trouble' is followed by a gerund (verb ending in -ing), not an infinitive. The correct construction is 'have trouble doing something,' making 'remembering my password' grammatically correct. Options A, B, and C incorrectly use infinitive or bare verb forms.